package algorithm.model.vo;

public class Result {

	private String id;
	private String name;
	private String className;
	private int sumScore;
	private int timeSpent;
	
	public Result(String id, String name, String className, int sumScore, int timeSpent) {
		super();
		this.id = id;
		this.name = name;
		this.className = className;
		this.sumScore = sumScore;
		this.timeSpent = timeSpent;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public int getSumScore() {
		return sumScore;
	}

	public void setSumScore(int sumScore) {
		this.sumScore = sumScore;
	}

	public int getTimeSpent() {
		return timeSpent;
	}

	public void setTimeSpent(int timeSpent) {
		this.timeSpent = timeSpent;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Result [id=");
		builder.append(id);
		builder.append(", name=");
		builder.append(name);
		builder.append(", className=");
		builder.append(className);
		builder.append(", sumScore=");
		builder.append(sumScore);
		builder.append(", timeSpent=");
		builder.append(timeSpent);
		builder.append("]");
		return builder.toString();
	}	
	
}
